<?php

 
namespace RedMVC\Form\Element;

/**
 * Text class
 *  
 * @category    RedMVC
 * @package     Form
 * @subpackage  Element 
 * @author      Jan Fischer, bitWorking <info@bitworking.de>
 */
class Text extends AElement{
    public function render(){
        return '<input type="text" name="'.$this->varname.'" value="'.$this->getValue().'"'.$this->form->buildAttributes($this->attributes).' />';
    }
}